package com.chance.cc.crawler.development.command.job.domain.sina;

import com.chance.cc.crawler.core.downloader.proxy.Proxy;
import com.chance.cc.crawler.development.command.job.CrawlerJobCommand;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/3/30 11:27
 * @Description
 *      新浪
 **/
public class SinaCommonCrawlerSchedulerJob {

    public static String domain = "sina";

    public static final String metaServiceIp = "192.168.1.215";
    public static final int metaServicePort = 9599;
    protected static final String metaServiceHttpPrefix = "http://"+metaServiceIp+":"+metaServicePort;

    protected static final String kafkaPath = "tmp_news";

    public static Proxy proxy = new Proxy();
    static {
        //代理配置
        proxy.setHost("http-dyn.abuyun.com");
        proxy.setPort(9020);
        proxy.setUsername("HL89Q19E86E2987D");
        proxy.setPassword("71F33D94CE5F7BF2");
    }

    protected static CrawlerJobCommand crawlerJobCommand = new CrawlerJobCommand(metaServiceIp,metaServicePort);
}
